<?php

class Documento extends Node
{

    protected $nombre;
    protected $fecha;

    function eliminar()
    {
        $sql = 'DELETE FROM documentos WHERE id=' . $this->id;
    }

    function doPOST( Event $e )
    {
        $this->eliminar();
    }

}

?>
